import { xpHttp as http } from '@/utils/http/axios';

export interface Params {
  page_size?: number;
  user_id?: number;
}

export const DeviceList = (params?: Params) => {
  return http.request({
    url: '/device/index',
    method: 'get',
    params,
  });
};
